package enemy.states;

import com.sun.crypto.provider.AESCipher;

import game.AudioEngine;
import game.Level;
import player.Player;

public class Shooting extends State {

	private Player player;


	@Override
	public void doAction(Level level) {
		player.kill();
		
		AudioEngine.playShoot();
		
		level.fail();
	}
	
	public void setPlayer(Player p) {
		this.player = p;
	}

}
